from time import time
def is_prime(num):
    if num<=1:
        return False
    for i in range(2,num//2+1):
        if num%i==0:
            return False
    return True

def process1():
    list01=[]
    for i in range(1,100001):
        if is_prime(i):
            list01.append(i)
    print(sum(list01))

begin_time=time()
process1()
print('执行时间：',time()-begin_time)




